import { httpPost } from '../../utils/axios-utils'

export function funcList(obj, authConfig) {
  return httpPost('/smart-cost/sys/func/list', obj, authConfig)
}

export function funcListFuncApiItems(obj, authConfig) {
  return httpPost('/smart-cost/sys/func/listFuncApiItems', obj, authConfig)
}

export function funcPageList(obj, authConfig) {
  return httpPost('/smart-cost/sys/func/pageList', obj, authConfig)
}

export function funcAdd(obj, authConfig) {
  return httpPost('/smart-cost/sys/func/add', obj, authConfig)
}

export function funcEdit(obj, authConfig) {
  return httpPost('/smart-cost/sys/func/edit', obj, authConfig)
}

export function funcDelete(obj, authConfig) {
  return httpPost('/smart-cost/sys/func/delete', obj, authConfig)
}
